Make implementation, header and documentation be at the correct place.
GDK_NOTE (MISC, g_message ("progname: \"%s\"", g_get_prgname ()));
}
+/**
+ * gdk_get_display:
+ *
+ * Gets the name of the display, which usually comes from the
+ * <envar>DISPLAY</envar> environment variable or the
+ * <option>--display</option> command line option.
+ *
+ * Returns: the name of the display.
+ */
+gchar *
+gdk_get_display (void)
+{
+ return g_strdup (gdk_display_get_name (gdk_display_get_default ()));
+}
+
/**
* gdk_get_display_arg_name:
*
return GDK_DISPLAY_GET_CLASS (display)->get_name (display);
}
-gchar *
-gdk_get_display (void)
-{
- return g_strdup (gdk_display_get_name (gdk_display_get_default ()));
-}
-
/**
* gdk_display_get_n_screens:
* @display: a #GdkDisplay
const gchar * gdk_get_display_arg_name (void);
-/**
- * gdk_get_display:
- *
- * Gets the name of the display, which usually comes from the
- * <envar>DISPLAY</envar> environment variable or the
- * <option>--display</option> command line option.
- *
- * Returns: the name of the display.
- */
gchar* gdk_get_display (void);
#ifndef GDK_MULTIDEVICE_SAFE